home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 100 / CD-ROM 100.iso / aplic / oo1_1 / f_0034 / common.jar / text / common / 02 / 01170203.xml < prev    next >
Encoding:
Extensible Markup Language  |  2003-04-30  |  24.9 KB  |  135 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Data</title><meta name="filename" content="text/common/02/01170203"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle2{
  5.                 }
  6.         span.Tabelle2A{
  7.                 width:1.499cm;}
  8.         span.Tabelle2B{
  9.                 width:16.498cm;}
  10.         tr.Tabelle21{
  11.                 }
  12.         td.Tabelle2A1{
  13.                 }
  14.         table.Tabelle1{
  15.                 }
  16.         span.Tabelle1A{
  17.                 width:1.499cm;}
  18.         span.Tabelle1B{
  19.                 width:16.498cm;}
  20.         tr.Tabelle11{
  21.                 }
  22.         td.Tabelle1A1{
  23.                 }
  24.         table.Tabelle3{
  25.                 margin-left:0cm; margin-right:0.005cm;}
  26.         span.Tabelle3A{
  27.                 width:3.916cm;}
  28.         span.Tabelle3B{
  29.                 width:14.074cm;}
  30.         td.Tabelle3A1{
  31.                 }
  32.         td.Tabelle3B1{
  33.                 border-width:0.002cm; border-style:solid; border-color:#000000;}
  34.         td.Tabelle3A2{
  35.                 }
  36.         td.Tabelle3B2{
  37.                 }
  38.         p.P1{
  39.                 }
  40.         span.T1{
  41.                 font-weight:bold;}
  42.         span.fr1{
  43.                 }
  44.         </style></head><body>
  45.   
  46.   
  47.   <help:paragraphinfo state="E" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="daten" xmlns:help="http://openoffice.org/2000/help">
  48.   <p class="Head1"><help:paragraphinfo state="U" number="1"/><help:key-word value="forms; data" tag="kw65955_1"/><help:key-word value="data; forms" tag="kw65955_4"/><help:key-word value="forms; subforms" tag="kw65955_3"/><help:key-word value="subforms; forms" tag="kw65955_2"/><help:link Id="65955">Data</help:link></p>
  49.   <p class="Paragraph"><help:paragraphinfo state="U" number="2"/>The<span style="font-weight:bold;"> Data </span>tab page defines the form properties that refer to the database that is linked to the form.</p>
  50.   <help:paragraphinfo state="E"/></help:to-be-embedded>
  51.   <p class="Paragraph"><help:paragraphinfo state="U" number="107" xmlns:help="http://openoffice.org/2000/help"/>Defines the data source on which the form is based, or specifies whether the data can be edited by the user. Apart from the sort and filter functions, you will also find all the necessary properties to create a <help:link Id="65955" Eid="unterformular" xmlns:help="http://openoffice.org/2000/help">subform</help:link>.</p>
  52.   <help:paragraphinfo state="E" xmlns:help="http://openoffice.org/2000/help"/><help:popup Id="65594" Eid="formulareigenschaftendaten" xmlns:help="http://openoffice.org/2000/help"><help:embedded Id="65598" Eid="wie"/></help:popup>
  53.   <table><tr class="Tabelle21"><th class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2A">
  54.       <p class="Paragraph"><draw:image draw:name="Icon0" svg:desc="Note Icon" svg:pixelx="32" svg:pixely="32" svg:width="0.847cm" svg:height="0.847cm" xlink:href="65980" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  55.  
  56.      </span></th><th class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2B">
  57.       <p class="Paragraph"><help:paragraphinfo state="U" number="80" xmlns:help="http://openoffice.org/2000/help"/>If the form is based on an SQL statement (see <span class="T1">Data source</span> property), the filter and sort functions are available only if the SQL statement refers to a table and is not written in the database's native SQL.</p>
  58.      </span></th></tr></table>
  59.   <p class="Head2"><help:paragraphinfo state="U" number="5" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_DATASOURCE" xmlns:help="http://openoffice.org/2000/help"/>Database</p>
  60.   <p class="Paragraph"><help:paragraphinfo state="U" number="16" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Defines the database to which the form should refer.</help:help-text> If you click the <span class="T1">...</span> button, you call the <help:link Id="65703" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Open</span></help:link> dialog, where you can choose a database.</p>
  61.   <p class="Head2"><help:paragraphinfo state="U" number="6" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_CURSORSOURCE" xmlns:help="http://openoffice.org/2000/help"/><a name="datenquelle"/>Data source</p>
  62.   <p class="Paragraph"><help:paragraphinfo state="U" number="17" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Determines the data source to be used for the form. The data source can be an existing table or a query (previously created in the database), or it can be defined by an SQL-statement. Before you enter a data source you have to define the exact type in <span class="T1">Content type</span>.</help:help-text></p>
  63.   <p class="Paragraph"><help:paragraphinfo state="U" number="27" xmlns:help="http://openoffice.org/2000/help"/>If you have selected either "Table" or "Query" in <span class="T1">Content type</span>, the box lists all the data sources of this type, that is, all tables and queries set up in the selected database. If you want the form to refer to a query, you first have to select the option "Query" as data source content type.</p>
  64.   <p class="Paragraph"><help:paragraphinfo state="U" number="28" xmlns:help="http://openoffice.org/2000/help"/>You can also enter an SQL-statement in the <span class="T1">Data source</span> box, if you have selected the "SQL" option as the data source content type. This statement is used to create an SQL query, which is used as a basis for generating the form or for defining a <help:link Id="65955" Eid="unterformular" xmlns:help="http://openoffice.org/2000/help">subform</help:link>.</p>
  65.   <p class="Head2"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_CURSORSOURCETYPE" xmlns:help="http://openoffice.org/2000/help"/>Content type</p>
  66.   <p class="Paragraph"><help:paragraphinfo state="U" number="19" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Defines whether the data source is to be an existing database table or query, or if the form is to be generated based on an SQL statement.</help:help-text></p>
  67.   <p class="Paragraph"><help:paragraphinfo state="U" number="29" xmlns:help="http://openoffice.org/2000/help"/>If you choose "Table" or "Query", the form will refer to the table or query that you specify under <span class="T1">Data source</span>. If you want to create a new query or a <help:link Id="65955" Eid="unterformular" xmlns:help="http://openoffice.org/2000/help">subform</help:link>, then you have to choose the "SQL" option. You can then enter the statement for the SQL query or the subform directly in the <span class="T1">Data source</span> box. The form is then generated on the basis of the specified statement.</p>
  68.   <p class="Head2"><help:paragraphinfo state="U" number="105" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_ESCAPE_PROCESSING" xmlns:help="http://openoffice.org/2000/help"/>Analyze SQL command</p>
  69.   <p class="Paragraph"><help:paragraphinfo state="U" number="106" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">If you choose SQL statement under <span class="T1">Data source</span>, specifies whether the SQL statement is to be analyzed (yes).</help:help-text></p>
  70.   <p class="Head2"><help:paragraphinfo state="U" number="81" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_FILTER_CRITERIA" xmlns:help="http://openoffice.org/2000/help"/><a name="filter"/>Filter</p>
  71.   <p class="Paragraph"><help:paragraphinfo state="U" number="82" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Enter the required conditions for filtering the data in the form. The filter specifications follow SQL rules without using the WHERE clause.</help:help-text> For example, if you want to display all records with the "Mike" forename, type into the data field: Forename = 'Mike'. You can also combine conditions: Forename = Mike OR Forename = Peter. All records matching these two conditions will be displayed.</p>
  72.   <p class="Paragraph"><help:paragraphinfo state="U" number="83" xmlns:help="http://openoffice.org/2000/help"/>The filter function is available in user mode through the <help:link Id="65981" xmlns:help="http://openoffice.org/2000/help"><span class="T1">AutoFilter</span></help:link> and <help:link Id="65999" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Default Filter</span></help:link> icons on the <help:link Id="65578" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Form</span> Bar</help:link>.</p>
  73.   <p class="Head2"><help:paragraphinfo state="U" number="84" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_SORT_CRITERIA" xmlns:help="http://openoffice.org/2000/help"/><a name="sortierung"/>Sort</p>
  74.   <p class="Paragraph"><help:paragraphinfo state="U" number="85" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Specifies the conditions to sort the data in the form. The specification of the sorting conditions follows SQL rules without the use of the ORDER BY clause.</help:help-text> For example, if you want all records of a database to be sorted in one field in an ascending order and in another field in a descending order, enter Forename ASC, Name DESC (presuming Forename and Name are the names of the data fields).</p>
  75.   <p class="Paragraph"><help:paragraphinfo state="U" number="86" xmlns:help="http://openoffice.org/2000/help"/>The appropriate icons on the <help:link Id="65578" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Forms</span> Bar</help:link> can be used in User mode to sort: <help:link Id="65990" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Sort Ascending</span></help:link>, <help:link Id="65969" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Sort Descending</span></help:link>, <help:link Id="66041" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Sort</span></help:link>.</p>
  76.   <p class="Head2"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_DATAENTRY" xmlns:help="http://openoffice.org/2000/help"/>Add data only</p>
  77.   <p class="Paragraph"><help:paragraphinfo state="U" number="20" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Determines if the form only allows the addition of new data (Yes) or if it allows other properties as well (No).</help:help-text></p>
  78.   <table><tr class="Tabelle11"><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  79.       <p class="Paragraph"><draw:image draw:name="Icon1" svg:desc="Note Icon" svg:pixelx="32" svg:pixely="32" svg:width="0.847cm" svg:height="0.847cm" xlink:href="65980" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  80.  
  81.      </span></th><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  82.       <p class="Paragraph"><help:paragraphinfo state="U" number="21" xmlns:help="http://openoffice.org/2000/help"/>If <span class="T1">Add data only</span> is set to "Yes", changing or deleting data is not possible.</p>
  83.      </span></th></tr></table>
  84.   <p class="Head2"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_NAVIGATION" xmlns:help="http://openoffice.org/2000/help"/>Navigation bar</p>
  85.   <p class="Paragraph"><help:paragraphinfo state="U" number="22" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Specifies whether the navigation functions in the lower form bar can be used.</help:help-text></p>
  86.   <p class="Paragraph"><help:paragraphinfo state="U" number="79" xmlns:help="http://openoffice.org/2000/help"/>The "Parent Form" option is used for subforms. If you choose this option for a subform you can navigate using the records of the main form if the cursor is placed in the subform. A subform is linked to the parent form by a 1:1 relationship, so navigation is always performed in the parent form.</p>
  87.   <p class="Head2"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_CYCLE" xmlns:help="http://openoffice.org/2000/help"/>Cycle</p>
  88.   <p class="Paragraph"><help:paragraphinfo state="U" number="23" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Determines how the navigation should be done using the tab key.</help:help-text> Using the tab key, you can move forward in the form. If you simultaneously press the Shift key, the navigation will follow the opposite direction. If you reach the last (or the first) field and press the tab key again, it can have various effects. Define the key control with the following options:</p>
  89.   <table border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" page-break-inside="page-break-inside:avoid"><tr class=""><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3A">
  90.       <p class="TableHead"><help:paragraphinfo state="U" number="87" xmlns:help="http://openoffice.org/2000/help"/>Option</p>
  91.      </span></th><th class="Tabelle3B1" style="text-align:left;"><span class="Tabelle3B">
  92.       <p class="TableHead"><help:paragraphinfo state="U" number="88" xmlns:help="http://openoffice.org/2000/help"/>Meaning</p>
  93.      </span></th></tr><tr class=""><td class="Tabelle3A2" style="text-align:left;"><span class="Tabelle3A">
  94.      <p class="TextInTable"><help:paragraphinfo state="U" number="89" xmlns:help="http://openoffice.org/2000/help"/>Default</p>
  95.     </span></td><td class="Tabelle3B2" style="text-align:left;"><span class="Tabelle3B">
  96.      <p class="TextInTable"><help:paragraphinfo state="U" number="90" xmlns:help="http://openoffice.org/2000/help"/>This setting automatically defines a cycle which follows an existing database link: If the form contains a database link, the Tab key will, by default, initiate a change to the next or previous record on exit from the last field (see All Records). If there is no database link the next/previous form is shown (see Current Page).</p>
  97.     </span></td></tr><tr class=""><td class="Tabelle3A2" style="text-align:left;"><span class="Tabelle3A">
  98.      <p class="TextInTable"><help:paragraphinfo state="U" number="91" xmlns:help="http://openoffice.org/2000/help"/>All records</p>
  99.     </span></td><td class="Tabelle3B2" style="text-align:left;"><span class="Tabelle3B">
  100.      <p class="TextInTable"><help:paragraphinfo state="U" number="92" xmlns:help="http://openoffice.org/2000/help"/>This option applies to database forms only and is used to navigate through all records. If you use the Tab key to exit from the last field of a form, the current record is changed.</p>
  101.     </span></td></tr><tr class=""><td class="Tabelle3A2" style="text-align:left;"><span class="Tabelle3A">
  102.      <p class="TextInTable"><help:paragraphinfo state="U" number="93" xmlns:help="http://openoffice.org/2000/help"/>Active record</p>
  103.     </span></td><td class="Tabelle3B2" style="text-align:left;"><span class="Tabelle3B">
  104.      <p class="TextInTable"><help:paragraphinfo state="U" number="94" xmlns:help="http://openoffice.org/2000/help"/>This option applies to database forms only, and is used to navigate within the current record. If you use the Tab key to exit from the last field of a form, the current record is changed.</p>
  105.     </span></td></tr><tr class=""><td class="Tabelle3A2" style="text-align:left;"><span class="Tabelle3A">
  106.      <p class="TextInTable"><help:paragraphinfo state="U" number="95" xmlns:help="http://openoffice.org/2000/help"/>Current page</p>
  107.     </span></td><td class="Tabelle3B2" style="text-align:left;"><span class="Tabelle3B">
  108.      <p class="TextInTable"><help:paragraphinfo state="U" number="96" xmlns:help="http://openoffice.org/2000/help"/>On exit from the last field of a form, the cursor skips to the first field in the next form. This is standard for HTML forms; therefore, this option is especially relevant for HTML forms.</p>
  109.     </span></td></tr></table>
  110.   <p class="Head2"><help:paragraphinfo state="U" number="11" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_ALLOW_ADDITIONS" xmlns:help="http://openoffice.org/2000/help"/>Allow additions</p>
  111.   <p class="Paragraph"><help:paragraphinfo state="U" number="24" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Determines if data can be added.</help:help-text></p>
  112.   <p class="Head2"><help:paragraphinfo state="U" number="12" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_ALLOW_EDITS" xmlns:help="http://openoffice.org/2000/help"/>Allow modifications</p>
  113.   <p class="Paragraph"><help:paragraphinfo state="U" number="25" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help"> Determines if the data can be modified.</help:help-text></p>
  114.   <p class="Head2"><help:paragraphinfo state="U" number="13" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_ALLOW_DELETIONS" xmlns:help="http://openoffice.org/2000/help"/>Delete data</p>
  115.   <p class="Paragraph"><help:paragraphinfo state="U" number="26" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Determines if the data can be deleted.</help:help-text></p>
  116.   <p class="Head2"><help:paragraphinfo state="U" number="3" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_MASTERFIELDS" xmlns:help="http://openoffice.org/2000/help"/>Link master fields</p>
  117.   <p class="Paragraph"><help:paragraphinfo state="U" number="14" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">If you create a <help:link Id="65955" Eid="unterformular">subform</help:link>, enter the data field of the parent form responsible for the synchronization between parent and subform.</help:help-text> To enter multiple values, press <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">Command</help:case><help:default>Ctrl</help:default></help:switch> + Enter after each input line.</p>
  118.   <p class="Paragraph"><help:paragraphinfo state="U" number="71" xmlns:help="http://openoffice.org/2000/help"/>The subform is based on a <help:popup Id="65619" Eid="sql" xmlns:help="http://openoffice.org/2000/help">SQL</help:popup> query; more specifically, on a <help:link Id="66162" Eid="parameterabfrage" xmlns:help="http://openoffice.org/2000/help">Parameter Query</help:link>. If a field name is entered in the <span class="T1">Link master fields</span> field, the data contained in that field in the main form are read to a variable that you must enter in <span class="T1">Link slave fields</span>. In an appropriate SQL statement, this variable is compared to the table data the subform refers to. This procedure sets the display in the subform.</p>
  119.   <p class="Paragraph"><help:paragraphinfo state="U" number="72" xmlns:help="http://openoffice.org/2000/help"/>Consider the following example:</p>
  120.   <p class="Paragraph"><help:paragraphinfo state="U" number="30" xmlns:help="http://openoffice.org/2000/help"/>The database table on which the form is based is, for example, a customer database ("Customer"), where every customer has been given a unique number in a data field named "Cust_ID". A customer's orders are maintained in another database table. You now want to see each customer's orders after entering them into the form. In order to do this you should create a subform. Under <span class="T1">Link master fields</span> enter the data field from the customer database which clearly identifies the customer, that is, Cust_ID. Under <span class="T1">Link slave fields</span> enter the name of a variable which is to accept the data of the field Cust_ID, for example, x.</p>
  121.   <p class="Paragraph"><help:paragraphinfo state="U" number="73" xmlns:help="http://openoffice.org/2000/help"/>The subform should show the appropriate data from the orders table ("Orders") for each customer ID (Customer_ID -> x). This is only possible if each order is uniquely assigned to one customer in the orders table. Alternatively, you can use another field called Customer_ID; however, to make sure that this field is not confused with the same field from the main form, the field is called Customer_Number.</p>
  122.   <p class="Paragraph"><help:paragraphinfo state="U" number="74" xmlns:help="http://openoffice.org/2000/help"/>Now compare the Customer_Number in the "Orders" table with the Customer_ID from the "Customers" table, which can be done, for example, using the x variable with the following SQL statement:</p>
  123.   <p class="Paragraph"><help:paragraphinfo state="U" number="75" xmlns:help="http://openoffice.org/2000/help"/>SELECT * FROM Orders WHERE Customer_Number =: x (if you want the subform to show all data from the orders table)</p>
  124.   <p class="Paragraph"><help:paragraphinfo state="U" number="76" xmlns:help="http://openoffice.org/2000/help"/>or:</p>
  125.   <p class="Paragraph"><help:paragraphinfo state="U" number="77" xmlns:help="http://openoffice.org/2000/help"/>SELECT Item FROM Orders WHERE Customer_Number =: x (if you want the subform from the orders table to show only the data contained in the "Item" field)</p>
  126.   <p class="Paragraph"><help:paragraphinfo state="U" number="78" xmlns:help="http://openoffice.org/2000/help"/>The SQL statement can either be entered in the <span class="T1">Data source</span> field, or you can create an appropriate parameter query, which can be used to create the subform.</p>
  127.   <p class="Head2"><help:paragraphinfo state="U" number="4" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_PROP_SLAVEFIELDS" xmlns:help="http://openoffice.org/2000/help"/>Link slave fields</p>
  128.   <p class="Paragraph"><help:paragraphinfo state="U" number="15" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">If you create a subform, enter the variable where possible values from the parent form field can be stored.</help:help-text> If a subform is based on a query, enter the variable that you defined in the query. If you create a form using an SQL statement entered in the <span class="T1">Data source</span> field, enter the variable you used in the statement. You can choose any variable name. If you want to enter multiple values, press <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">Command</help:case><help:default>Ctrl</help:default></help:switch> + Enter.</p>
  129.   <p class="Paragraph"><help:paragraphinfo state="U" number="31" xmlns:help="http://openoffice.org/2000/help"/>If, for example, you specified the Customer_ID database field as a parent field under <span class="T1">Link master fields</span>, then you can define under <span class="T1">Link slave fields</span> the name of the variable in which the values of the Customer_ID database field are to be stored. If you now specify an SQL statement in the <span class="T1">Data source</span> box using this variable, the relevant values are displayed in the subform.</p>
  130.   <p class="Head2"><help:paragraphinfo state="U" number="32" xmlns:help="http://openoffice.org/2000/help"/><a name="unterformular"/>What is a subform?</p>
  131.   <p class="Paragraph"><help:paragraphinfo state="U" number="33" xmlns:help="http://openoffice.org/2000/help"/>Forms are created based on a database table or database query. They display the data in a visually pleasant fashion and can be used to enter data or edit data.</p>
  132.   <p class="Paragraph"><help:paragraphinfo state="U" number="34" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="wozu" xmlns:help="http://openoffice.org/2000/help">If you require a form that can refer to the data in a table or query and can additionally display data from another table, you should create a subform.</help:to-be-embedded> For example, this subform can be a text box that displays the data of another database table.</p>
  133.   <p class="Paragraph"><help:paragraphinfo state="U" number="35" xmlns:help="http://openoffice.org/2000/help"/>A subform is an additional component of the main form. The main form can be called the "parent form". Subforms are needed as soon as you want to access more than one table from a form. Each additional table requires its own subform.</p>
  134.   <p class="Paragraph"><help:paragraphinfo state="U" number="36" xmlns:help="http://openoffice.org/2000/help"/>The user cannot recognize that a form has subforms. The user only sees a form in which data is entered or where existing data is displayed. Using a form with subforms, it is possible to generate a simple customized input mask for the user, irrespective of how the data is managed in the database.</p>
  135.  </body></html>